package com.yc.ssq.mapper;

import com.yc.ssq.bean.Ssq_lottery;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SsqMapper {

    void insert(
            @Param("items") String[] items);

    public List<Ssq_lottery> query(
            @Param("startdate") String startdate,
            @Param("endsdate") String endsdate
    );

    public List<Ssq_lottery> findByPage(
            @Param("page") int page,
            @Param("rows") int rows
    );

    public int total();

    List<Map<String,Object>> selectSQL(@Param("sql") String sql);
}
